{include file="Index/header" /}
    <form action="{:url('Manage/adminAdd')}" method="post" />
	    <input type="hidden" name="admin_id" value="{$admin_id}" />
	    <input type="hidden" name="sbt" value="1">
    	<div class="formbody">
    		<div class="formtitle"><span>管理员{if !$admin_id}添加{else /}编辑{/if}</span></div>
		    <ul class="forminfo">
			    <li><label>登录账号</label>
			    	  <input name="username" type="text" required class="dfinput" value="{$info.username}" size="30"/></li>
			    {if !$admin_id}
			    <li><label>登录密码</label>
			    	  <input name="password" type="password" class="dfinput" size="30"/></li>
			    {/if}
			    <li><label>真实姓名</label>
			    	  <input name="truename" type="text" required class="dfinput" value="{$info.truename}" size="30"/></li>
			    <li><label>手机号码</label>
			    	  <input name="mobile" type="text" required class="dfinput" value="{$info.mobile}" size="30"/></li>
			    <li><label>联系QQ</label>
			    	  <input name="qq" type="text" required class="dfinput" value="{$info.qq}" size="30"/></li>
			    <li><label>用户组</label>
		    		<select class="slt" name="group_id">
		    			 
    					{volist name="group_arr" id="v" key="k"}
	    					<option value="{$k}" {if $info[group_id]==$k} selected {/if}>{$v}</option>
	    				{/volist}
		    		</select></li>
		    	 
			    <li><label>&nbsp;</label>
			   		 <input name="sbt" type="submit" class="btn" value="确认保存"/></li>
		    </ul>
    	</div>
	</form>

{include file="Index/footer" /}







